import { jsx as _jsx } from "react/jsx-runtime";
/*
 * @Author: 檃
 * @Date: 2022-06-20 11:03:56
 * @LastEditTime: 2022-06-20 11:28:29
 * @Description:
 * @LastEditors: 檃
 */
import 'antd/dist/antd.min.css';
import './css/reset.css';
import 'amfe-flexible/index.js';
import './resize.js';
import { ConfigProvider } from 'antd';
import zhCN from 'antd/es/locale/zh_CN';
import { Suspense } from 'react';
import { BrowserRouter as Router } from 'react-router-dom';
import { RecoilRoot } from 'recoil';
import Layout from './layout';
import RouteList from './routes';
const App = () => {
    return (_jsx(ConfigProvider, { locale: zhCN, children: _jsx(Suspense, { fallback: _jsx("div", { children: "loading" }), children: _jsx(RecoilRoot, { children: _jsx(Router, { children: _jsx(Layout, { children: _jsx(RouteList, {}) }) }) }) }) }));
};
export default App;
